package com.chinacoal.hr.levelapi.entity;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

/**
 * @author: YunTao.Li
 * @create: 2019-11-29 22:48
 * @description:
 **/
@Data
@TableName(value = "org_organization")
public class Organization {

    @TableId(type = IdType.AUTO, value = "ORGID")
    public String orgId;

    @TableField(value = "ORGNAME")
    public String orgName;

    @TableField(value = "ORGCODE")
    public String orgCode;

    @TableField(value = "PARENTORGID")
    public String parentOrgId;

    @TableField(value = "ORGLEVEL")
    public String orgLevel;

    @TableField(value = "ISLEAF")
    public String isLeaf;

    @TableField(exist = false)
    public boolean disabled;
}
